package com.ll.domain.pk.event.producer;

import com.ll.app.api.req.UpdateStatusPkReqDTO;
import com.ll.domain.pk.dto.PkDTO;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationEvent;

@Slf4j
@Getter
public class UpdateStatusPkEvent extends ApplicationEvent {

    private PkDTO pkDTO;

    public UpdateStatusPkEvent(PkDTO pkDTO) {
        super(pkDTO);
        this.pkDTO = pkDTO;
        log.info(" UpdateStatusPkEvent success! id: {}", pkDTO.getId());
    }

}
